'use strict';

function get_intersection(collection_a, collection_b) {
  let arr=[];
  for(let a of collection_a)
  {
    for(let b of collection_b)
      if(a==b)
        arr.push(a);
  }
  return arr;
}

module.exports = get_intersection;
